package router

import (
	"cgs-server/server/cgs/app/service"
	"cgs-server/server/cgs/app/store/mongo"
)

func Init() {
	initWorksheetGroupRouter()
	initWorksheetViewRouter()
	initWorksheetInfoRouter()
	initWorksheetRowsRouter()
	initWorksheetShortCutRouter()
	initAppRouter()
	initWorksheetApiRouter()
	initWorksheetPrintRouter()
	initMarketRouter()
	initPublicWorksheetRouter()

	storeIns, _ := mongo.GetMongoFactory()
	service.SetClient(storeIns)

}
